package com.ruibang.glass.quality.mapper;


import com.ruibang.glass.quality.domain.req.DiscardDefectReq;
import com.ruibang.glass.quality.domain.req.EveryHourDiscardDefectReq;
import com.ruibang.glass.quality.entity.EveryHourDiscardDefect;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface EveryHourDiscardDefectMapper extends CommonMapper<EveryHourDiscardDefect> {
    List<EveryHourDiscardDefect> queryEveryHourColdDirect(EveryHourDiscardDefectReq everyHourDiscardDefectReq);

    void deleteByDate(@Param("discardReq") DiscardDefectReq discardDefectReq);
}
